feat(mcp-cli): add stdio tool gittensory_get_burden_forecast - #4324
Conversation
Register gittensory_get_burden_forecast in the stdio bin, proxying the public GET /v1/repos/:owner/:repo/intelligence route via apiGet and surfacing the burdenForecast + burdenForecastFreshness slice. Mirrors the sibling gittensory_get_label_audit tool. Adds a subprocess stdio test and a fixture intelligence route. Bin + test only, no src changes. Closes JSONbored#2230
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4324 +/- ##
=======================================
Coverage 93.94% 93.94%
=======================================
Files 397 397
Lines 36736 36736
Branches 13428 13428
=======================================
Hits 34511 34511
Misses 1569 1569
Partials 656 656 🚀 New features to boost your workflow:
|
|
Tip 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 ✅ Gittensory review result - approve/merge recommendedReview updated: 2026-07-08 21:07:34 UTC
✅ Suggested Action - Approve/Merge
Review summary Nits — 5 non-blocking
Linked issue satisfactionAddressed Review context
Contributor next steps
Signal definitions
🟩 Safe / merged · 🟦 Advisory · 🟨 Held for review · 🟥 Blocked / closed 💰 Earn for open-source contributions like this. Gittensor lets GitHub contributors earn for the work they already do — register to start earning →. Checked by Gittensory, a quiet PR intelligence layer for OSS maintainers.
|
The hosted MCP server exposes
gittensory_get_burden_forecast(src/mcp/server.ts) but the published stdio package (packages/gittensory-mcp/bin/gittensory-mcp.js) never registered it, so a locally-rungittensory-mcpcannot reach the cached maintainer burden forecast (projected review load, queue-growth risk, stale-PR signals, freshness marker).What this does
gittensory_get_burden_forecastin the stdio bin, proxying the existing public GET/v1/repos/:owner/:repo/intelligenceroute viaapiGetand surfacing itsburdenForecast+burdenForecastFreshnessslice.ownerRepoinput handling of the sibling repo-scoped tools (gittensory_get_label_audit, same${prefix}/intelligencesource).Scope
Touches only the stdio bin and
test/**(nosrc/**changes).Closes #2230